package com.bobi.tfca.model.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 段落实体
 * @author 李文发
 * @date 2024/4/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "段落")
@TableName(value = "article_paragraph")
public class ParagraphEntity {

    @TableId
    @ApiModelProperty(value = "内容id")
    // 内容id
    private Integer paragraphId;
    @ApiModelProperty(value = "图片")
    // 图片
    private String picture;
    @ApiModelProperty(value = "文本")
    // 文本
    private String plainText;
    @ApiModelProperty(value = "排序值")
    // 排序
    private Integer sort;
    @ApiModelProperty(value = "文章id")
    // 文章id
    private Integer articleId;
}
